/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoo.gamecenter.sdk.suspend.c;

import android.annotation.SuppressLint;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;

@SuppressLint({ "WorldReadableFiles", "InlinedApi", "WorldWriteableFiles" })
public class a {
    public static String a(Context paramContext) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("float_sdk_share_preference", 0);
        return localSharedPreferences.getString("flag_is_show_float", "");
    }

    public static void a(Context paramContext, String paramString) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("float_sdk_share_preference", 0);
        localSharedPreferences.edit().putString("flag_is_show_float", paramString).commit();
    }

    public static boolean b(Context paramContext) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("float_sdk_share_preference", 0);
        return localSharedPreferences.getBoolean("com.qihoo.gameunion", false);
    }

    public static void b(Context paramContext, String paramString) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("float_sdk_share_preference", 0);
        localSharedPreferences.edit().putString("com.qihoo.gameunion_verson_code", paramString).commit();
    }

    public static String c(Context paramContext) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("float_sdk_share_preference", 0);
        return localSharedPreferences.getString("com.qihoo.gameunion_verson_code", "");
    }

    public static boolean a(Context paramContext, boolean paramBoolean) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("float_sdk_share_preference", 0);
        return localSharedPreferences.edit().putBoolean("com.qihoo.gameunion", paramBoolean).commit();
    }

    public static boolean a(Context paramContext, String paramString, boolean paramBoolean) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("float_sdk_share_preference", 0);
        return localSharedPreferences.edit().putBoolean(paramString, paramBoolean).commit();
    }

    public static boolean c(Context paramContext, String paramString) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("float_sdk_share_preference", 0);
        return localSharedPreferences.getBoolean(paramString, true);
    }

    public static String d(Context paramContext) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("float_sdk_share_preference", 0);
        return localSharedPreferences.getString("flag_hidde_floatshow_on_games", ":");
    }

    public static boolean a(Context paramContext, String paramString1, String paramString2) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("float_sdk_share_preference", 0);
        return localSharedPreferences.edit().putString(paramString1 + "qt_floatsdk", paramString2).commit();
    }

    public static String d(Context paramContext, String paramString) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("float_sdk_share_preference", 0);
        return localSharedPreferences.getString(paramString + "qt_floatsdk", "");
    }

    public static boolean b(Context paramContext, String paramString1, String paramString2) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("float_sdk_share_preference", 0);
        return localSharedPreferences.edit().putString(paramString1 + "qid_floatsdk", paramString2).commit();
    }

    public static String e(Context paramContext, String paramString) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("float_sdk_share_preference", 0);
        return localSharedPreferences.getString(paramString + "qid_floatsdk", "");
    }

    public static boolean f(Context paramContext, String paramString) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("float_sdk_share_preference", 0);
        return localSharedPreferences.edit().putString("logined_content", paramString).commit();
    }

    public static String e(Context paramContext) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("float_sdk_share_preference", 0);
        return localSharedPreferences.getString("logined_content", "");
    }
}